package com.eshop.modules.template.service.dto;

import java.io.Serializable;

public class SystemCityDto implements Serializable
{
    private Integer id;
    private Integer cityId;
    private Integer level;
    private Integer parentId;
    private String areaCode;
    private String name;
    private String mergerName;
    private String lng;
    private String lat;
    private Integer isShow;
    
    public Integer getId() {
        return this.id;
    }
    
    public Integer getCityId() {
        return this.cityId;
    }
    
    public Integer getLevel() {
        return this.level;
    }
    
    public Integer getParentId() {
        return this.parentId;
    }
    
    public String getAreaCode() {
        return this.areaCode;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getMergerName() {
        return this.mergerName;
    }
    
    public String getLng() {
        return this.lng;
    }
    
    public String getLat() {
        return this.lat;
    }
    
    public Integer getIsShow() {
        return this.isShow;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setCityId(final Integer cityId) {
        this.cityId = cityId;
    }
    
    public void setLevel(final Integer level) {
        this.level = level;
    }
    
    public void setParentId(final Integer parentId) {
        this.parentId = parentId;
    }
    
    public void setAreaCode(final String areaCode) {
        this.areaCode = areaCode;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setMergerName(final String mergerName) {
        this.mergerName = mergerName;
    }
    
    public void setLng(final String lng) {
        this.lng = lng;
    }
    
    public void setLat(final String lat) {
        this.lat = lat;
    }
    
    public void setIsShow(final Integer isShow) {
        this.isShow = isShow;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof SystemCityDto)) {
            return false;
        }
        final SystemCityDto other = (SystemCityDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$cityId = this.getCityId();
        final Object other$cityId = other.getCityId();
        Label_0102: {
            if (this$cityId == null) {
                if (other$cityId == null) {
                    break Label_0102;
                }
            }
            else if (this$cityId.equals(other$cityId)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$level = this.getLevel();
        final Object other$level = other.getLevel();
        Label_0139: {
            if (this$level == null) {
                if (other$level == null) {
                    break Label_0139;
                }
            }
            else if (this$level.equals(other$level)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$parentId = this.getParentId();
        final Object other$parentId = other.getParentId();
        Label_0176: {
            if (this$parentId == null) {
                if (other$parentId == null) {
                    break Label_0176;
                }
            }
            else if (this$parentId.equals(other$parentId)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$isShow = this.getIsShow();
        final Object other$isShow = other.getIsShow();
        Label_0213: {
            if (this$isShow == null) {
                if (other$isShow == null) {
                    break Label_0213;
                }
            }
            else if (this$isShow.equals(other$isShow)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$areaCode = this.getAreaCode();
        final Object other$areaCode = other.getAreaCode();
        Label_0250: {
            if (this$areaCode == null) {
                if (other$areaCode == null) {
                    break Label_0250;
                }
            }
            else if (this$areaCode.equals(other$areaCode)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0287: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0287;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$mergerName = this.getMergerName();
        final Object other$mergerName = other.getMergerName();
        Label_0324: {
            if (this$mergerName == null) {
                if (other$mergerName == null) {
                    break Label_0324;
                }
            }
            else if (this$mergerName.equals(other$mergerName)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$lng = this.getLng();
        final Object other$lng = other.getLng();
        Label_0361: {
            if (this$lng == null) {
                if (other$lng == null) {
                    break Label_0361;
                }
            }
            else if (this$lng.equals(other$lng)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$lat = this.getLat();
        final Object other$lat = other.getLat();
        if (this$lat == null) {
            if (other$lat == null) {
                return true;
            }
        }
        else if (this$lat.equals(other$lat)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof SystemCityDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $cityId = this.getCityId();
        result = result * 59 + (($cityId == null) ? 43 : $cityId.hashCode());
        final Object $level = this.getLevel();
        result = result * 59 + (($level == null) ? 43 : $level.hashCode());
        final Object $parentId = this.getParentId();
        result = result * 59 + (($parentId == null) ? 43 : $parentId.hashCode());
        final Object $isShow = this.getIsShow();
        result = result * 59 + (($isShow == null) ? 43 : $isShow.hashCode());
        final Object $areaCode = this.getAreaCode();
        result = result * 59 + (($areaCode == null) ? 43 : $areaCode.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $mergerName = this.getMergerName();
        result = result * 59 + (($mergerName == null) ? 43 : $mergerName.hashCode());
        final Object $lng = this.getLng();
        result = result * 59 + (($lng == null) ? 43 : $lng.hashCode());
        final Object $lat = this.getLat();
        result = result * 59 + (($lat == null) ? 43 : $lat.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "SystemCityDto(id=" + this.getId() + ", cityId=" + this.getCityId() + ", level=" + this.getLevel() + ", parentId=" + this.getParentId() + ", areaCode=" + this.getAreaCode() + ", name=" + this.getName() + ", mergerName=" + this.getMergerName() + ", lng=" + this.getLng() + ", lat=" + this.getLat() + ", isShow=" + this.getIsShow() + ")";
    }
}
